<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
</body>
<script>
    class People {
        constructor(name,height,weight){
            this.name=name
            this.height=height;
            this.weight=weight;
        }
        say(){
            console.log(this.name+"hello")
        }
        static other="other"
        static hello(){
            console.log("jjjjjjj")
        }
    }
    let people1 = new People("王五",111,122)
    console.log(people1)
    people1.say()
    let people2 = new People("李四",121,132)
    console.log(people2)
    people2.say()
   console.log(People.other)
   People.hello()
    
</script>
</html>